package com.qqtech.qquan.user.dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.qquan.user.model.*;

public interface UserAuthDao extends BaseDao<UserAuth> {
	public UserAuthVo getByUserId(java.lang.Integer userId) ;
	
	/**
	 * 后台查询 -分页
	 * @param query
	 * @param pageable
	 * @return
	 */
	public Page<UserAuthVo> queryPageListAdmin(UserAuthQuery query, Pageable pageable);

	/**
	 * 后台查询记录数
	 * @param query
	 * @return
	 */
	public int queryCountAdmin(UserAuthQuery query);
}
